package org.oaix.lock;

import org.openjdk.jol.info.ClassLayout;

public class LockTest {


	public static void main(String[] args) {

		Object o=new Object();
		System.out.println(ClassLayout.parseInstance(o).toPrintable());
		synchronized (o){
			System.out.println(ClassLayout.parseInstance(o).toPrintable());
		}
		System.out.println(ClassLayout.parseInstance(o).toPrintable());

//		AtomicInteger atomicInteger=new AtomicInteger(0);
//		atomicInteger.getAndIncrement();
//		System.out.println(atomicInteger);
	}



}
